// 定义接口数据类型
export interface HomeworkCard {
  artworkId: string;
  title: string;
  tag: string;
  userName: string;
  likes: number;
  createdAt: string;
  imageUrl: string;
}

export interface HomeworkTable {
  records: HomeworkCard[];
  total: number;
  size: number;
  current: number;
  pages: number;
}

// 请求参数类型
export interface RequestTableParams {
  page: number;
  size: number;
  keywords: string;
  tag: string;
}

// 点赞回复类型
export interface PostLikeResponse {
  code: number;
  msg: string;
  data: string;
}
